name: pre-commit run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit/bin:/opt/pyenv/bin:/tmp/venv-BuET/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 501877516 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit env TOX_ENV_NAME: pre-commit env TOX_WORK_DIR: /w/workspace/bgpcep-tox-verify-master/.tox env VIRTUAL_ENV: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 2392 cwd: /w/workspace/bgpcep-tox-verify-master allow: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit/bin/* cmd: pre-commit run --all-files --show-diff-on-failure exit_code: 1 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/shellcheck-py/shellcheck-py. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. [INFO] Initializing environment for https://github.com/adrienverge/yamllint. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/shellcheck-py/shellcheck-py. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/adrienverge/yamllint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Passed fix end of files.........................................................Failed - hook id: end-of-file-fixer - exit code: 1 - files were modified by this hook Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivatorTest.java Fixing rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/PrimaryPathRouteObjectParser.java Fixing bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/GlobalUtilTest.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LacpParserTest.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/MACIpAdvRParserTest.java Fixing bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv6NlriParserTest.java Fixing pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslContextFactory.java Fixing bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/RouteOrigin4OctectASEcHandlerTest.java Fixing tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp2.j2 Fixing rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/ReoptimizationBandwidthObjectParser.java Fixing rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistryTest.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LanParserTest.java Fixing bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/RouteUpdateKeyTest.java Fixing bgp/extensions/evpn/src/main/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivator.java Fixing bmp/bmp-spi/src/test/java/org/opendaylight/protocol/bmp/spi/parser/TlvUtilTest.java Fixing bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/PeerGroupUtilTest.java Fixing bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/config/AbstractConfig.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/nlri/IntraAsIPmsiADHandlerTest.java Fixing testtool-util/src/test/java/org/opendaylight/protocol/util/LoggerUtilTest.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/nlri/SPmsiADHandlerTest.java Fixing tests/variables/bgpuser/filled_topology_manypeers/data.json Fixing bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParserTest.java Fixing bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParserTest.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/attributes/PEDistinguisherLabelsAttributeHandlerTest.java Fixing tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp5.j2 Fixing bgp/rib-impl/src/test/resources/bgp_hex.txt Fixing tests/variables/bgpfunctional/ipv6/manypeers/exaipv6.j2 Fixing bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/AbstractFlowspecNlriParser.java Fixing pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/P2MPTeLspTlvsParserTest.java Fixing bgp/openconfig-rp-statement/src/test/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/ImportDefaultStatementTest.java Fixing pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionListener.java Fixing rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/label/GeneralizedLabelParser.java Fixing programming/spi/src/main/java/org/opendaylight/bgpcep/programming/spi/SuccessfulRpcResult.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/Layer2AttributesExtComTest.java Fixing bgp/openconfig-api/src/main/resources/openconfig.LICENSE Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ASGenParserTest.java Fixing tests/variables/bgpfunctional/ipv6/manypeers/exaipv4.j2 Fixing bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/BGPSessionNegotiatorFactory.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/attributes/PMSITunnelAttributeHandlerTest.java Fixing pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/P2MPExtensionActivator.java Fixing bgp/openconfig-spi/src/main/java/org/opendaylight/protocol/bgp/openconfig/spi/SimpleBGPTableTypeRegistryProvider.java Fixing pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/SrEroSubobjectParser.java Fixing pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/unreach/PCEPUnreachDestinationSerializer.java Fixing bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/EncapsulationECTest.java Fixing bgp/extensions/route-target/src/test/java/org/opendaylight/protocol/bgp/route/targetcontrain/impl/route/policy/ClientAttributePrependHandlerTest.java Fixing tox.ini Fixing docs/pcep/pcep-user-guide-supported-capabilities.rst Fixing docs/graph/graph-user-guide-manage-graph.rst Fixing bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv4NlriParser.java Fixing bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BasePathSelector.java Fixing bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/RouteEntry.java Fixing bgp/openconfig-rp-statement/src/main/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/actions/NonTransitiveAttributesFilterHandler.java Fixing bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/BgpExtendedMessageCapabilityHandler.java Fixing tests/variables/pcepuser/titanium/manypeers/updated_default_json.j2 Fixing bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/handlers/NumericOperandParserTest.java Fixing tests/variables/pcepuser/titanium/get_pcc_stats/post_data.json Fixing tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp1.j2 Fixing bgp/openconfig-rp-statement/src/test/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/MatchAfiSafiNotInTest.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/MacParserTest.java Fixing pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/end/points/PCEPEndPointsObjectSerializer.java Fixing rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/ero/SERODynamicProtectionSubobjectParser.java Fixing bgp/cli/src/test/java/org/opendaylight/protocol/bgp/cli/utils/PeerGroupStateCliUtilsTest.java Fixing testtool-util/src/test/java/org/opendaylight/protocol/util/InetSocketAddressUtilTest.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/RouterIdParserTest.java Fixing docs/bgp/bgp-user-guide-revised-error-handling.rst Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/DefaultGatewayExtComTest.java Fixing pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPExtensionProviderActivator.java Fixing bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParser.java Fixing tests/variables/pcepuser/titanium/set_timer_value/location.uri Fixing bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/BestPathState.java Fixing bgp/extensions/inet/src/test/java/org/opendaylight/protocol/bgp/inet/codec/nexthop/NextHopParserSerializerTest.java Fixing LICENSE Fixing bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/RTCClientRouteCache.java Fixing bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/nlri/Ipv6PrefixNlriParser.java Fixing tests/variables/bgpfunctional/ipv6/ipv6_topology_empty/data.json Fixing bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/n/paths/AddPathBestNPathSelection.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/nlri/LeafADHandlerTest.java Fixing tests/variables/pcepuser/titanium/manypeers/updated_updated_json.j2 Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ArbitraryParserTest.java Fixing bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/State.java Fixing bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/state/BGPRibState.java Fixing tests/variables/pcepuser/titanium/get_timer_value/location.uri Fixing docs/graph/graph-user-guide-graph-model.rst Fixing bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/BGPExtensionProviderActivator.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/nlri/SharedTreeJoinHandlerTest.java Fixing tests/variables/bgpuser/local_as/manypeers_adj_rib_out/data.j2 Fixing bmp/bmp-impl/src/test/java/org/opendaylight/protocol/bmp/impl/session/BmpTestSessionListener.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/attributes/tunnel/identifier/OpaqueUtilTest.java Fixing bgp/openconfig-rp-statement/src/test/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/ExportDefaultStatementTest.java Fixing pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/CustomPCEPSessionNegotiatorFactory.java Fixing tests/variables/pcepuser/titanium/manypeers/removed_json.j2 Fixing tests/variables/pcepuser/titanium/manypeers/default_json.j2 Fixing docs/pcep/pcep-user-guide-pce-server.rst Fixing bgp/parser-impl/src/test/resources/bgp-update-nodes.txt Fixing bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParser.java Fixing bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv4/FlowspecIpv4NlriParserHelper.java Fixing bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/tlvs/Ipv6InterfaceTlvParser.java Fixing bgp/extensions/route-target/src/test/java/org/opendaylight/protocol/bgp/route/targetcontrain/impl/activators/RIBActivatorTest.java Fixing tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp6.j2 Fixing tests/variables/bgpfunctional/l3vpn_ipv4/bgp-l3vpn-ipv4-manypeers.j2 Fixing bgp/openconfig-rp-statement/src/main/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/actions/SetOriginatorIdPrependHandler.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/nlri/SourceTreeJoinHandlerTest.java Fixing tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp3.j2 Fixing bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/tlvs/RouterIdTlvParser.java Fixing pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/ServerSessionManager.java Fixing bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java Fixing bgp/extensions/route-target/src/main/java/org/opendaylight/protocol/bgp/route/targetcontrain/impl/activators/RIBActivator.java Fixing bgp/openconfig-rp-statement/src/main/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/actions/AsPathPrepend.java Fixing bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/MultiProtocolCapabilityHandler.java Fixing bgp/openconfig-rp-statement/src/test/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/VpnNonMemberHandlerTest.java Fixing bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseRouteEntry.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/MACMobExtComTest.java Fixing bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/mcast/nlri/L3vpnMcastNlriSerializerTest.java Fixing bgp/extensions/route-target/src/main/java/org/opendaylight/protocol/bgp/route/targetcontrain/impl/route/policy/ClientAttributePrependHandler.java Fixing bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParserTest.java Fixing bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/ClusterIdAttributeParserTest.java Fixing tests/variables/pcepuser/titanium/set_timer_value/data.json Fixing rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistryTest.java Fixing tests/variables/bgpfunctional/route_refresh/route/location.uri Fixing bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv6NlriParser.java Fixing pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCTriggeredSyncTest.java Fixing bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/LinkBandwidthECTest.java Fixing bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/handlers/AbstractNumericByteOperandParser.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/IncMultEthTagRParserTest.java Fixing bmp/bmp-spi/src/main/java/org/opendaylight/protocol/bmp/spi/parser/BmpDeserializationException.java Fixing tests/variables/bgpuser/cluster_id/expected_peer_rib_out_manypeers/peer_rib_out.j2 Fixing tests/variables/bgpflowspec/bgp-flowspec-redirect-manypeers.j2 Fixing pcep/server/server-provider/src/main/java/org/opendaylight/bgpcep/pcep/server/provider/PcepTopologyListener.java Fixing tests/variables/bgpflowspec/bgp_flowspec_manypeers/data.json Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthADRParserTest.java Fixing pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslKeyStore.java Fixing bgp/path-selection-mode/src/test/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseBestPathTest.java Fixing bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv4NlriParserTest.java Fixing tests/variables/pcepuser/titanium/get_stats_all/post_data.json Fixing graph/graph-impl/src/main/java/org/opendaylight/graph/impl/GraphListener.java Fixing bmp/bmp-spi/src/test/java/org/opendaylight/protocol/bmp/spi/registry/SimpleBmpExtensionProviderContextTest.java Fixing pcep/spi/src/test/java/org/opendaylight/protocol/pcep/spi/APITest.java Fixing pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionRPCs.java Fixing tests/variables/pcepuser/titanium/manypeers/updated_json.j2 Fixing bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/RIBSupportTestImp.java Fixing bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/l3vpn/AbstractFlowspecL3vpnNlriParser.java Fixing bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/IdentifierUtilsTest.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESILabelExtComTest.java Fixing tests/variables/bgpuser/filled_topology_manypeers_with_withdrawals/data.json Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthSegRParserTest.java Fixing docs/algo/algo-user-guide-algo-model.rst Fixing tests/variables/bgpfunctional/exa.j2 Fixing docs/pcep/pcep-user-guide-running-pcep.rst Fixing bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv6/FlowspecIpv6NlriParserHelper.java Fixing tests/variables/bgpflowspec/bgp-flowspec-manypeers.j2 Fixing docs/bgp/bgp-user-guide-supported-capabilities.rst Fixing tests/variables/bgpfunctional/exa.cfg Fixing bgp/extensions/route-target/src/test/java/org/opendaylight/protocol/bgp/route/targetcontrain/impl/nlri/SimpleRouteTargetConstrainNlriRegistryTest.java Fixing pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/protocol/PCCServerPeerProposal.java Fixing bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/RouterIdsTest.java Fixing bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/RouteKeyOffsets.java Fixing tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp4.j2 Fixing bgp/openconfig-rp-statement/src/test/java/org/opendaylight/protocol/bgp/openconfig/routing/policy/statement/MatchExtComTest.java Fixing bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESImpRouteTargetExtComTest.java Fixing bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPPeerTrackerImpl.java Fixing bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/PeerRoleUtilTest.java Fixing rsvp/spi/src/main/java/org/opendaylight/protocol/rsvp/parser/spi/SRROSubobjectSerializer.java Fixing rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistryTest.java Fixing bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/ActivatorTest.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/nlri/InterASIPmsiADHandlerTest.java Fixing bgp/extensions/mvpn/src/test/java/org/opendaylight/protocol/bgp/mvpn/impl/nlri/SourceActiveADHandlerTest.java Fixing bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/route/target/RouteTarget4OctectASEcHandlerTest.java Fixing tests/variables/bgpfunctional/bmp_basic/filled_structure_manypeers/data.json Fixing bgp/extensions/route-target/src/test/java/org/opendaylight/protocol/bgp/route/targetcontrain/impl/activators/BGPActivatorTest.java Fixing tests/requirements.txt Fixing pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/Srv6EroSubobjectParser.java Fixing bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/state/BGPStateCollectorTest.java Fixing rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistryTest.java Fixing tests/variables/pcepuser/titanium/manypeers/failed_updated_json.j2 Fixing bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/RIBActivatorTest.java Fixing bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/Generic4OctASEcHandlerTest.java check yaml...............................................................Passed check xml............................................(no files to check)Skipped check json...........................................(no files to check)Skipped check for added large files..............................................Passed check for merge conflicts................................................Passed check for case conflicts.................................................Passed mixed line ending........................................................Failed - hook id: mixed-line-ending - exit code: 1 - files were modified by this hook bgp/util/src/test/resources/BgpMessage_Hex_InvalidLength.bin: fixed mixed line endings Tabs remover.............................................................Passed shellcheck...............................................................Failed - hook id: shellcheck - exit code: 1 In tests/tools/pcep_updater/mock.sh line 17: for i in {1..3} ^-^ SC2034 (warning): i appears unused. Verify use (or export if used externally). ^----^ SC3009 (warning): In POSIX sh, brace expansion is undefined. In tests/tools/pcep_updater/mock.sh line 23: echo "PCC MOCK Process id for $a iteration is $process_id" ^-- SC2154 (warning): a is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2034 -- i appears unused. Verify use (or ... https://www.shellcheck.net/wiki/SC2154 -- a is referenced but not assigned. https://www.shellcheck.net/wiki/SC3009 -- In POSIX sh, brace expansion is u... prettier.................................................................Failed - hook id: prettier - files were modified by this hook tests/README.md yamllint.................................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/LICENSE b/LICENSE index 3d967aee74..79e486c3d2 100644 --- a/LICENSE +++ b/LICENSE @@ -67,4 +67,4 @@ All Recipient's rights under this Agreement shall terminate if it fails to compl Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. \ No newline at end of file +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. diff --git a/bgp/cli/src/test/java/org/opendaylight/protocol/bgp/cli/utils/PeerGroupStateCliUtilsTest.java b/bgp/cli/src/test/java/org/opendaylight/protocol/bgp/cli/utils/PeerGroupStateCliUtilsTest.java index 5fa874af7b..12367b2403 100644 --- a/bgp/cli/src/test/java/org/opendaylight/protocol/bgp/cli/utils/PeerGroupStateCliUtilsTest.java +++ b/bgp/cli/src/test/java/org/opendaylight/protocol/bgp/cli/utils/PeerGroupStateCliUtilsTest.java @@ -53,4 +53,4 @@ public final class PeerGroupStateCliUtilsTest { StandardCharsets.UTF_8); assertEquals(expected, this.output.toString()); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/main/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivator.java b/bgp/extensions/evpn/src/main/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivator.java index 6466dc3bd7..e3daa4c2e2 100644 --- a/bgp/extensions/evpn/src/main/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivator.java +++ b/bgp/extensions/evpn/src/main/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivator.java @@ -31,4 +31,4 @@ public final class RIBActivator implements RIBExtensionProviderActivator { final BindingNormalizedNodeSerializer mappingService) { return List.of(context.registerRIBSupport(new EvpnRibSupport(mappingService))); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivatorTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivatorTest.java index 2a13e4f52e..f72c25a06e 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivatorTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/RIBActivatorTest.java @@ -26,4 +26,4 @@ public class RIBActivatorTest extends AbstractRIBActivatorTest { ribAct.startRIBExtensionProvider(context, this.context.currentSerializer()); assertNotNull(context.getRIBSupport(L2vpnAddressFamily.VALUE, EvpnSubsequentAddressFamily.VALUE)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ASGenParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ASGenParserTest.java index d9e823d2f7..42901d34c0 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ASGenParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ASGenParserTest.java @@ -67,4 +67,4 @@ public final class ASGenParserTest { public void wrongCaseTest() { parser.serializeEsi(new ArbitraryCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ArbitraryParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ArbitraryParserTest.java index 09cd8b5134..871184a148 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ArbitraryParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/ArbitraryParserTest.java @@ -62,4 +62,4 @@ public final class ArbitraryParserTest { public void wrongCaseTest() { parser.serializeEsi(new AsGeneratedCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LacpParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LacpParserTest.java index ed6f31210d..f051a92b63 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LacpParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LacpParserTest.java @@ -69,4 +69,4 @@ public final class LacpParserTest { public void wrongCaseTest() { parser.serializeEsi(new ArbitraryCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LanParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LanParserTest.java index 107ab0f30d..e9234c26ec 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LanParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/LanParserTest.java @@ -81,4 +81,4 @@ public class LanParserTest { .addChild(createValue(PRIORITY, RBP_NID)) .build(); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/MacParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/MacParserTest.java index 81e9d09a66..27711a5bc5 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/MacParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/MacParserTest.java @@ -72,4 +72,4 @@ public final class MacParserTest { public void wrongCaseTest() { parser.serializeEsi(new ArbitraryCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/RouterIdParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/RouterIdParserTest.java index 27b3f63479..9a57e69a2c 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/RouterIdParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/esi/types/RouterIdParserTest.java @@ -84,4 +84,4 @@ public class RouterIdParserTest { assertThrows(IllegalArgumentException.class, () -> parser.serializeEsi(new ArbitraryCaseBuilder().build(), null)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/DefaultGatewayExtComTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/DefaultGatewayExtComTest.java index 8e95d1958e..6c993ea3f9 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/DefaultGatewayExtComTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/DefaultGatewayExtComTest.java @@ -61,4 +61,4 @@ public class DefaultGatewayExtComTest { public void testSubtype() { assertEquals(13, this.parser.getSubType()); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESILabelExtComTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESILabelExtComTest.java index 48ed56193e..c020d30c98 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESILabelExtComTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESILabelExtComTest.java @@ -57,4 +57,4 @@ public class ESILabelExtComTest { public void testSubtype() { assertEquals(1, this.parser.getSubType()); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESImpRouteTargetExtComTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESImpRouteTargetExtComTest.java index 4c04405f4b..748a6e8056 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESImpRouteTargetExtComTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/ESImpRouteTargetExtComTest.java @@ -57,4 +57,4 @@ public class ESImpRouteTargetExtComTest { public void testSubtype() { assertEquals(2, this.parser.getSubType()); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/Layer2AttributesExtComTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/Layer2AttributesExtComTest.java index ce02bb2558..dd5b0e9faf 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/Layer2AttributesExtComTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/Layer2AttributesExtComTest.java @@ -98,4 +98,4 @@ public class Layer2AttributesExtComTest { public void testSubtype() { assertEquals(4, this.parser.getSubType()); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/MACMobExtComTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/MACMobExtComTest.java index d913dd7213..b43ee7e671 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/MACMobExtComTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/extended/communities/MACMobExtComTest.java @@ -57,4 +57,4 @@ public class MACMobExtComTest { public void testSubtype() { assertEquals(0, this.parser.getSubType()); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthADRParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthADRParserTest.java index 43322a1542..81fb429031 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthADRParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthADRParserTest.java @@ -98,4 +98,4 @@ public class EthADRParserTest { public void wrongSizeTest() { parser.parseEvpn(Unpooled.wrappedBuffer(WRONG_VALUE)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthSegRParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthSegRParserTest.java index 758b2c4bc8..7a2181445f 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthSegRParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/EthSegRParserTest.java @@ -113,4 +113,4 @@ public class EthSegRParserTest { public void wrongSizeTest() { parser.parseEvpn(Unpooled.wrappedBuffer(WRONG_VALUE)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/IncMultEthTagRParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/IncMultEthTagRParserTest.java index bc5e2e4611..3be2a1f912 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/IncMultEthTagRParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/IncMultEthTagRParserTest.java @@ -78,4 +78,4 @@ public class IncMultEthTagRParserTest { public void wrongSizeTest() { parser.parseEvpn(Unpooled.wrappedBuffer(WRONG_VALUE)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/MACIpAdvRParserTest.java b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/MACIpAdvRParserTest.java index 7f5640a89d..fd76ee2788 100644 --- a/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/MACIpAdvRParserTest.java +++ b/bgp/extensions/evpn/src/test/java/org/opendaylight/protocol/bgp/evpn/impl/nlri/MACIpAdvRParserTest.java @@ -157,4 +157,4 @@ public class MACIpAdvRParserTest { public void wrongCaseTest() { parser.serializeEvpn(new EsRouteCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/AbstractFlowspecNlriParser.java b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/AbstractFlowspecNlriParser.java index 8f1f6848fe..1ebce0f3a0 100644 --- a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/AbstractFlowspecNlriParser.java +++ b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/AbstractFlowspecNlriParser.java @@ -639,4 +639,3 @@ public abstract class AbstractFlowspecNlriParser implements NlriParser, NlriSeri return null; } } - diff --git a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParser.java b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParser.java index 098026a374..45f66d38fd 100644 --- a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParser.java +++ b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParser.java @@ -80,4 +80,3 @@ public final class SimpleFlowspecIpv4NlriParser extends AbstractFlowspecIpNlriPa } } } - diff --git a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParser.java b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParser.java index ac004d6221..aa3366b9d0 100644 --- a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParser.java +++ b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParser.java @@ -80,4 +80,3 @@ public final class SimpleFlowspecIpv6NlriParser extends AbstractFlowspecIpNlriPa } } } - diff --git a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/handlers/AbstractNumericByteOperandParser.java b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/handlers/AbstractNumericByteOperandParser.java index 92346014ae..138bae2039 100644 --- a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/handlers/AbstractNumericByteOperandParser.java +++ b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/handlers/AbstractNumericByteOperandParser.java @@ -35,4 +35,4 @@ abstract class AbstractNumericByteOperandParser extends Abs abstract V getValue(T item); abstract NumericOperand getOp(T item); -} \ No newline at end of file +} diff --git a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv4/FlowspecIpv4NlriParserHelper.java b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv4/FlowspecIpv4NlriParserHelper.java index 75f57d6dd0..bf8f2015f0 100644 --- a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv4/FlowspecIpv4NlriParserHelper.java +++ b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv4/FlowspecIpv4NlriParserHelper.java @@ -91,4 +91,3 @@ public final class FlowspecIpv4NlriParserHelper { .collect(Collectors.toList()); } } - diff --git a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv6/FlowspecIpv6NlriParserHelper.java b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv6/FlowspecIpv6NlriParserHelper.java index a669267118..509d5152d7 100644 --- a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv6/FlowspecIpv6NlriParserHelper.java +++ b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv6/FlowspecIpv6NlriParserHelper.java @@ -132,4 +132,3 @@ public final class FlowspecIpv6NlriParserHelper { return sb.toString(); } } - diff --git a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/l3vpn/AbstractFlowspecL3vpnNlriParser.java b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/l3vpn/AbstractFlowspecL3vpnNlriParser.java index a66b6e472f..3b61510373 100644 --- a/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/l3vpn/AbstractFlowspecL3vpnNlriParser.java +++ b/bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/l3vpn/AbstractFlowspecL3vpnNlriParser.java @@ -118,4 +118,3 @@ public abstract class AbstractFlowspecL3vpnNlriParser extends AbstractFlowspecNl return fss; } } - diff --git a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/ActivatorTest.java b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/ActivatorTest.java index d12402d8ea..19ef896339 100644 --- a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/ActivatorTest.java +++ b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/ActivatorTest.java @@ -33,4 +33,3 @@ public class ActivatorTest { .classForFamily(FLOWSPEC_VPN_SAFI)); } } - diff --git a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv4NlriParserTest.java b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv4NlriParserTest.java index 18cd35acac..cb599e879c 100644 --- a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv4NlriParserTest.java +++ b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv4NlriParserTest.java @@ -963,4 +963,3 @@ public class FlowspecL3vpnIpv4NlriParserTest { .build(), AbstractFlowspecL3vpnNlriParser.RD_NID)); } } - diff --git a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv6NlriParserTest.java b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv6NlriParserTest.java index 0bae5919e4..6f9eb95369 100644 --- a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv6NlriParserTest.java +++ b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/FlowspecL3vpnIpv6NlriParserTest.java @@ -525,4 +525,3 @@ public class FlowspecL3vpnIpv6NlriParserTest { assertEquals(List.of(expectedFS.build()), fsParser.extractFlowspec(entry.build())); } } - diff --git a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParserTest.java b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParserTest.java index 47a26dc4c6..a432f1a69c 100644 --- a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParserTest.java +++ b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv4NlriParserTest.java @@ -919,4 +919,3 @@ public class SimpleFlowspecIpv4NlriParserTest { .getDestinationPrefix().getValue()); } } - diff --git a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParserTest.java b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParserTest.java index 2f63c83351..d5c3115a5f 100644 --- a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParserTest.java +++ b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/SimpleFlowspecIpv6NlriParserTest.java @@ -497,4 +497,3 @@ public class SimpleFlowspecIpv6NlriParserTest { assertEquals(List.of(expectedFS.build()), fsParser.extractFlowspec(entry.build())); } } - diff --git a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/handlers/NumericOperandParserTest.java b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/handlers/NumericOperandParserTest.java index 7b44e30927..2bcc98d22e 100644 --- a/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/handlers/NumericOperandParserTest.java +++ b/bgp/extensions/flowspec/src/test/java/org/opendaylight/protocol/bgp/flowspec/handlers/NumericOperandParserTest.java @@ -83,4 +83,4 @@ public class NumericOperandParserTest { nlriByteBuf); assertArrayEquals(new byte[]{(byte) 0x81}, ByteArray.readAllBytes(nlriByteBuf)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv4NlriParser.java b/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv4NlriParser.java index 5c75ac7fec..0251ea6cc6 100644 --- a/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv4NlriParser.java +++ b/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv4NlriParser.java @@ -100,4 +100,4 @@ public final class Ipv4NlriParser implements NlriParser, NlriSerializer { } } } -} \ No newline at end of file +} diff --git a/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv6NlriParser.java b/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv6NlriParser.java index a7543398e1..7a5c9b136d 100644 --- a/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv6NlriParser.java +++ b/bgp/extensions/inet/src/main/java/org/opendaylight/protocol/bgp/inet/codec/Ipv6NlriParser.java @@ -101,4 +101,4 @@ public final class Ipv6NlriParser implements NlriParser, NlriSerializer { } } } -} \ No newline at end of file +} diff --git a/bgp/extensions/inet/src/test/java/org/opendaylight/protocol/bgp/inet/codec/nexthop/NextHopParserSerializerTest.java b/bgp/extensions/inet/src/test/java/org/opendaylight/protocol/bgp/inet/codec/nexthop/NextHopParserSerializerTest.java index fe1bfc9c7e..023edaef9c 100644 --- a/bgp/extensions/inet/src/test/java/org/opendaylight/protocol/bgp/inet/codec/nexthop/NextHopParserSerializerTest.java +++ b/bgp/extensions/inet/src/test/java/org/opendaylight/protocol/bgp/inet/codec/nexthop/NextHopParserSerializerTest.java @@ -93,4 +93,4 @@ public class NextHopParserSerializerTest { assertEquals("cNextHop is not a Ipv6 NextHop object.", e.getMessage()); } } -} \ No newline at end of file +} diff --git a/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/RIBActivatorTest.java b/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/RIBActivatorTest.java index 798868ac5d..856b36628b 100644 --- a/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/RIBActivatorTest.java +++ b/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/RIBActivatorTest.java @@ -29,4 +29,4 @@ public class RIBActivatorTest extends AbstractRIBActivatorTest { assertNotNull(context.getRIBSupport(Ipv4AddressFamily.VALUE, McastMplsLabeledVpnSubsequentAddressFamily.VALUE)); assertNotNull(context.getRIBSupport(Ipv6AddressFamily.VALUE, McastMplsLabeledVpnSubsequentAddressFamily.VALUE)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/mcast/nlri/L3vpnMcastNlriSerializerTest.java b/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/mcast/nlri/L3vpnMcastNlriSerializerTest.java index 7b47ebd735..f504e0fdab 100644 --- a/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/mcast/nlri/L3vpnMcastNlriSerializerTest.java +++ b/bgp/extensions/l3vpn/src/test/java/org/opendaylight/protocol/bgp/l3vpn/mcast/nlri/L3vpnMcastNlriSerializerTest.java @@ -76,4 +76,4 @@ public class L3vpnMcastNlriSerializerTest { assertEquals(destination, L3vpnMcastNlriSerializer.extractDest(Unpooled.copiedBuffer(expectedArray), false)); } -} \ No newline at end of file +} diff --git a/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/nlri/Ipv6PrefixNlriParser.java b/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/nlri/Ipv6PrefixNlriParser.java index 7a1680e17c..db549b9f26 100644 --- a/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/nlri/Ipv6PrefixNlriParser.java +++ b/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/nlri/Ipv6PrefixNlriParser.java @@ -15,4 +15,4 @@ public final class Ipv6PrefixNlriParser extends AbstractPrefixNlriParser { public int getNlriType() { return NlriType.Ipv6Prefix.getIntValue(); } -} \ No newline at end of file +} diff --git a/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/tlvs/Ipv6InterfaceTlvParser.java b/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/tlvs/Ipv6InterfaceTlvParser.java index f43f0556a4..cfb81d0566 100644 --- a/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/tlvs/Ipv6InterfaceTlvParser.java +++ b/bgp/extensions/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/tlvs/Ipv6InterfaceTlvParser.java @@ -41,4 +41,3 @@ public final class Ipv6InterfaceTlvParser implements LinkstateTlvParser tableKeys() { return tableKeys; } -} \ No newline at end of file +} diff --git a/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/GlobalUtilTest.java b/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/GlobalUtilTest.java index 4fbf8c8858..c7ff954874 100644 --- a/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/GlobalUtilTest.java +++ b/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/GlobalUtilTest.java @@ -31,4 +31,4 @@ public class GlobalUtilTest { doReturn(null).when(tableRegistry).getAfiSafiType(eq(TABLES_KEY)); assertNull(GlobalUtil.buildAfiSafi(ribState, TABLES_KEY, tableRegistry)); } -} \ No newline at end of file +} diff --git a/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/PeerGroupUtilTest.java b/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/PeerGroupUtilTest.java index f2a3149e3b..04a649c42e 100644 --- a/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/PeerGroupUtilTest.java +++ b/bgp/openconfig-state/src/test/java/org/opendaylight/protocol/bgp/state/PeerGroupUtilTest.java @@ -32,4 +32,4 @@ public class PeerGroupUtilTest { public void testNoneGroup() { assertNull(PeerGroupUtil.buildPeerGroups(List.of(bgpPeerState))); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/BgpExtendedMessageCapabilityHandler.java b/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/BgpExtendedMessageCapabilityHandler.java index 5a079b8381..227e524ef5 100644 --- a/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/BgpExtendedMessageCapabilityHandler.java +++ b/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/BgpExtendedMessageCapabilityHandler.java @@ -34,4 +34,4 @@ public final class BgpExtendedMessageCapabilityHandler implements CapabilityPars CapabilityUtil.formatCapability(CODE, Unpooled.EMPTY_BUFFER, byteAggregator); } } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/MultiProtocolCapabilityHandler.java b/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/MultiProtocolCapabilityHandler.java index bd11e4071f..cc721f0660 100644 --- a/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/MultiProtocolCapabilityHandler.java +++ b/bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/open/MultiProtocolCapabilityHandler.java @@ -70,4 +70,4 @@ public final class MultiProtocolCapabilityHandler implements CapabilityParser, C CapabilityUtil.formatCapability(CODE, capBuffer, byteAggregator); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/ClusterIdAttributeParserTest.java b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/ClusterIdAttributeParserTest.java index 40ef687831..8648d0ca20 100644 --- a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/ClusterIdAttributeParserTest.java +++ b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/ClusterIdAttributeParserTest.java @@ -74,4 +74,4 @@ public class ClusterIdAttributeParserTest { this.parser.serializeAttribute(clusterId, output); assertEquals(Unpooled.buffer(), output); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParserTest.java b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParserTest.java index 09fc596e90..16663ee369 100644 --- a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParserTest.java +++ b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParserTest.java @@ -72,4 +72,4 @@ public class CommunitiesAttributeParserTest { registry.serializeAttribute(new AttributesBuilder().build(), actual); assertEquals(Unpooled.buffer(), actual); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/EncapsulationECTest.java b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/EncapsulationECTest.java index 5350436f3f..817d8c9aee 100644 --- a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/EncapsulationECTest.java +++ b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/EncapsulationECTest.java @@ -57,4 +57,4 @@ public class EncapsulationECTest { public void testSubtype() { assertEquals(EncapsulationEC.SUBTYPE, this.parser.getSubType()); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/Generic4OctASEcHandlerTest.java b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/Generic4OctASEcHandlerTest.java index 7798fe90ce..66a5d609b6 100644 --- a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/Generic4OctASEcHandlerTest.java +++ b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/Generic4OctASEcHandlerTest.java @@ -50,4 +50,4 @@ public final class Generic4OctASEcHandlerTest { public void testHandlerError() { this.handler.serializeExtendedCommunity(new As4RouteOriginExtendedCommunityCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/LinkBandwidthECTest.java b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/LinkBandwidthECTest.java index cfd35245a0..862ecb3abc 100644 --- a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/LinkBandwidthECTest.java +++ b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/LinkBandwidthECTest.java @@ -59,4 +59,4 @@ public class LinkBandwidthECTest { public void testSubtype() { assertEquals(4, this.parser.getSubType()); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/RouteOrigin4OctectASEcHandlerTest.java b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/RouteOrigin4OctectASEcHandlerTest.java index 24084f39b2..a95d022c20 100644 --- a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/RouteOrigin4OctectASEcHandlerTest.java +++ b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/RouteOrigin4OctectASEcHandlerTest.java @@ -62,4 +62,4 @@ public final class RouteOrigin4OctectASEcHandlerTest { public void testHandlerError() throws BGPDocumentedException, BGPParsingException { this.handler.serializeExtendedCommunity(new As4GenericSpecExtendedCommunityCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/route/target/RouteTarget4OctectASEcHandlerTest.java b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/route/target/RouteTarget4OctectASEcHandlerTest.java index 649327e178..c8e5dcd254 100644 --- a/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/route/target/RouteTarget4OctectASEcHandlerTest.java +++ b/bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/extended/communities/route/target/RouteTarget4OctectASEcHandlerTest.java @@ -44,4 +44,4 @@ public class RouteTarget4OctectASEcHandlerTest { public void testHandlerError() throws BGPDocumentedException, BGPParsingException { this.handler.serializeExtendedCommunity(new As4RouteOriginExtendedCommunityCaseBuilder().build(), null); } -} \ No newline at end of file +} diff --git a/bgp/parser-impl/src/test/resources/bgp-update-nodes.txt b/bgp/parser-impl/src/test/resources/bgp-update-nodes.txt index f83c85948a..183314059d 100644 --- a/bgp/parser-impl/src/test/resources/bgp-update-nodes.txt +++ b/bgp/parser-impl/src/test/resources/bgp-update-nodes.txt @@ -29,4 +29,4 @@ ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 00 13 01 02 00 04 00 00 00 64 01 06 00 07 00 00 02 05 00 03 00 40 01 01 00 40 02 00 40 05 04 00 00 00 64 80 0a 04 14 14 14 14 80 09 04 64 64 -64 0a \ No newline at end of file +64 0a diff --git a/bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/BGPExtensionProviderActivator.java b/bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/BGPExtensionProviderActivator.java index d6ee84f283..f4b9847407 100644 --- a/bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/BGPExtensionProviderActivator.java +++ b/bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/BGPExtensionProviderActivator.java @@ -12,4 +12,4 @@ import org.opendaylight.yangtools.concepts.Registration; public interface BGPExtensionProviderActivator { List start(BGPExtensionProviderContext context); -} \ No newline at end of file +} diff --git a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/BestPathState.java b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/BestPathState.java index ee5f7b10aa..fb7b5479be 100644 --- a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/BestPathState.java +++ b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/BestPathState.java @@ -32,4 +32,4 @@ public interface BestPathState { boolean isDepreferenced(); @NonNull ContainerNode getAttributes(); -} \ No newline at end of file +} diff --git a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/RouteEntry.java b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/RouteEntry.java index 48bc44bdf6..7393ba9502 100644 --- a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/RouteEntry.java +++ b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/api/RouteEntry.java @@ -85,4 +85,4 @@ public interface RouteEntry, S * @param routeKey route key */ @NonNull List> newBestPaths(@NonNull RIBSupport ribSupport, @NonNull String routeKey); -} \ No newline at end of file +} diff --git a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/RouteKeyOffsets.java b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/RouteKeyOffsets.java index b0cb226121..4605d6d15a 100644 --- a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/RouteKeyOffsets.java +++ b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/RouteKeyOffsets.java @@ -50,4 +50,4 @@ final class RouteKeyOffsets extends AbstractOffsetMap protected RouteKeyOffsets instanceForKeys(final ImmutableSet newKeys) { return OFFSETMAPS.getUnchecked(newKeys); } -} \ No newline at end of file +} diff --git a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/n/paths/AddPathBestNPathSelection.java b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/n/paths/AddPathBestNPathSelection.java index 6187a12acf..33bc1d2195 100644 --- a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/n/paths/AddPathBestNPathSelection.java +++ b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/n/paths/AddPathBestNPathSelection.java @@ -35,4 +35,4 @@ public final class AddPathBestNPathSelection implements PathSelectionMode { RouteEntry createRouteEntry() { return new NPathsRouteEntry<>(this.npaths); } -} \ No newline at end of file +} diff --git a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BasePathSelector.java b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BasePathSelector.java index 59a681240d..013e84cf0a 100644 --- a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BasePathSelector.java +++ b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BasePathSelector.java @@ -49,4 +49,4 @@ final class BasePathSelector extends AbstractBestPathSelector { BaseBestPath result() { return bestRouterId == null ? null : new BaseBestPath(bestRouterId, bestState); } -} \ No newline at end of file +} diff --git a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseRouteEntry.java b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseRouteEntry.java index 0ecb1ac1bd..b7269479f2 100644 --- a/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseRouteEntry.java +++ b/bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseRouteEntry.java @@ -148,4 +148,4 @@ final class BaseRouteEntry, S e return Collections.singletonList(new ActualBestPathRoutes<>(ribSupport, route, bestPath.getPeerId(), bestPath.getAttributes(), bestPath.isDepreferenced())); } -} \ No newline at end of file +} diff --git a/bgp/path-selection-mode/src/test/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseBestPathTest.java b/bgp/path-selection-mode/src/test/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseBestPathTest.java index 25210b9597..5943f8ea46 100644 --- a/bgp/path-selection-mode/src/test/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseBestPathTest.java +++ b/bgp/path-selection-mode/src/test/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseBestPathTest.java @@ -57,4 +57,4 @@ public class BaseBestPathTest { public void testToString() { assertEquals(this.baseBestPath.toString(), this.baseBestPathCopy.toString()); } -} \ No newline at end of file +} diff --git a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java index 0f035b3058..15390165d1 100644 --- a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java +++ b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java @@ -181,4 +181,4 @@ public final class BGPDispatcherImpl implements BGPDispatcher { }; } } -} \ No newline at end of file +} diff --git a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPPeerTrackerImpl.java b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPPeerTrackerImpl.java index 489a513b50..3646b65bf9 100644 --- a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPPeerTrackerImpl.java +++ b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPPeerTrackerImpl.java @@ -56,4 +56,4 @@ public final class BGPPeerTrackerImpl implements BGPPeerTracker { public synchronized List getNonInternalPeers() { return this.peersFilteredList; } -} \ No newline at end of file +} diff --git a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/RTCClientRouteCache.java b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/RTCClientRouteCache.java index 3a62b62ab6..214b618e77 100644 --- a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/RTCClientRouteCache.java +++ b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/RTCClientRouteCache.java @@ -40,4 +40,4 @@ public final class RTCClientRouteCache implements ClientRouteTargetContrainCache public synchronized List getClientRouteTargetContrainCache() { return ImmutableList.copyOf(this.rtCache); } -} \ No newline at end of file +} diff --git a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/RouteUpdateKeyTest.java b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/RouteUpdateKeyTest.java index 65ce9393cd..425b5a5b21 100644 --- a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/RouteUpdateKeyTest.java +++ b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/RouteUpdateKeyTest.java @@ -31,4 +31,4 @@ public class RouteUpdateKeyTest { assertNotEquals(rk, new RouteUpdateKey(PEER_ID_2, PREFIX)); assertNotEquals(rk, new RouteUpdateKey(PEER_ID_2, PREFIX_2)); } -} \ No newline at end of file +} diff --git a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/config/AbstractConfig.java b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/config/AbstractConfig.java index a8c4f0ed13..c725e79461 100644 --- a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/config/AbstractConfig.java +++ b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/config/AbstractConfig.java @@ -130,4 +130,4 @@ class AbstractConfig extends DefaultRibPoliciesMockTest { doReturn(policies).when(rib).getRibPolicies(); doReturn(null).when(peerGroupLoader).getPeerGroup(any(DataObjectIdentifier.class), any(String.class)); } -} \ No newline at end of file +} diff --git a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/state/BGPStateCollectorTest.java b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/state/BGPStateCollectorTest.java index 4dde5644e2..86f4ff8ebf 100644 --- a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/state/BGPStateCollectorTest.java +++ b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/state/BGPStateCollectorTest.java @@ -65,4 +65,4 @@ public class BGPStateCollectorTest { assertEquals(List.of(), collector.getRibStats()); } } -} \ No newline at end of file +} diff --git a/bgp/rib-impl/src/test/resources/bgp_hex.txt b/bgp/rib-impl/src/test/resources/bgp_hex.txt index fffae5c492..f98b7a9551 100644 --- a/bgp/rib-impl/src/test/resources/bgp_hex.txt +++ b/bgp/rib-impl/src/test/resources/bgp_hex.txt @@ -122,4 +122,4 @@ ffffffffffffffffffffffffffffffff00e802000000d1900e0062400447040a19021b0000020055 Received BGP Update message. Length:232 -ffffffffffffffffffffffffffffffff00e802000000d1900e0062400447040a19021b00000200550200000000000000010100001a02000004000000480201000428282828020300060000000000400101001a020000040000004802010004282828280203000600000000004101030004c714a02801040004c714a0294001010040020040050400000064c01d5a04040004282828280406000429292929044000040000000004410004499896800442000446435000044300204643500046435000000000000000000000000000000000000000000000000000044400030000000447000300000a \ No newline at end of file +ffffffffffffffffffffffffffffffff00e802000000d1900e0062400447040a19021b00000200550200000000000000010100001a02000004000000480201000428282828020300060000000000400101001a020000040000004802010004282828280203000600000000004101030004c714a02801040004c714a0294001010040020040050400000064c01d5a04040004282828280406000429292929044000040000000004410004499896800442000446435000044300204643500046435000000000000000000000000000000000000000000000000000044400030000000447000300000a diff --git a/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/BGPSessionNegotiatorFactory.java b/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/BGPSessionNegotiatorFactory.java index 5b8d6cbb88..437c446e1f 100644 --- a/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/BGPSessionNegotiatorFactory.java +++ b/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/BGPSessionNegotiatorFactory.java @@ -12,4 +12,4 @@ import io.netty.util.concurrent.Promise; public interface BGPSessionNegotiatorFactory { SessionNegotiator getSessionNegotiator(Channel channel, Promise promise); -} \ No newline at end of file +} diff --git a/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/State.java b/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/State.java index 97c5e9c6ba..e826b98ded 100644 --- a/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/State.java +++ b/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/State.java @@ -53,4 +53,4 @@ public enum State { public short getValue() { return this.value; } -} \ No newline at end of file +} diff --git a/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/state/BGPRibState.java b/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/state/BGPRibState.java index e589c98f79..38baa84638 100644 --- a/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/state/BGPRibState.java +++ b/bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/state/BGPRibState.java @@ -85,4 +85,3 @@ public interface BGPRibState extends RibReference { */ @NonNull BgpId getRouteId(); } - diff --git a/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/IdentifierUtilsTest.java b/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/IdentifierUtilsTest.java index 31ea45c62b..9449c515ef 100644 --- a/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/IdentifierUtilsTest.java +++ b/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/IdentifierUtilsTest.java @@ -78,4 +78,4 @@ public class IdentifierUtilsTest { assertEquals(NIWP_PEER, result); } -} \ No newline at end of file +} diff --git a/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/PeerRoleUtilTest.java b/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/PeerRoleUtilTest.java index 7a71a8875a..efbd454654 100644 --- a/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/PeerRoleUtilTest.java +++ b/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/PeerRoleUtilTest.java @@ -20,4 +20,4 @@ public class PeerRoleUtilTest { assertEquals("rr-client", PeerRoleUtil.roleForString(PeerRole.RrClient)); assertEquals("internal", PeerRoleUtil.roleForString(PeerRole.Internal)); } -} \ No newline at end of file +} diff --git a/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/RIBSupportTestImp.java b/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/RIBSupportTestImp.java index dd669b811d..36e23da360 100644 --- a/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/RIBSupportTestImp.java +++ b/bgp/rib-spi/src/test/java/org/opendaylight/protocol/bgp/rib/spi/RIBSupportTestImp.java @@ -58,4 +58,4 @@ public final class RIBSupportTestImp extends AbstractRIBSupport`_ \ No newline at end of file +* `Revised Error Handling for BGP UPDATE Messages `_ diff --git a/docs/bgp/bgp-user-guide-supported-capabilities.rst b/docs/bgp/bgp-user-guide-supported-capabilities.rst index bcabb328b1..99c9673b55 100644 --- a/docs/bgp/bgp-user-guide-supported-capabilities.rst +++ b/docs/bgp/bgp-user-guide-supported-capabilities.rst @@ -42,4 +42,4 @@ In addition to the base protocol implementation, the plugin provides many extens * `RFC4724 `_ - Graceful Restart Mechanism for BGP * `draft-uttaro-idr-bgp-persistence-04 `_ - Support for Long-lived BGP Graceful Restart * `RFC7606 `_ - Revised Error Handling for BGP UPDATE Messages -* `RFC8212 `_ - Default External BGP (EBGP) Route Propagation Behavior without Policies \ No newline at end of file +* `RFC8212 `_ - Default External BGP (EBGP) Route Propagation Behavior without Policies diff --git a/docs/graph/graph-user-guide-graph-model.rst b/docs/graph/graph-user-guide-graph-model.rst index 55980f63f4..60f1ac836b 100644 --- a/docs/graph/graph-user-guide-graph-model.rst +++ b/docs/graph/graph-user-guide-graph-model.rst @@ -222,4 +222,3 @@ Note that the Unique Key identifier for Connected Edge and Connected Vertex must not be equal to zero (and as a consequence the Edge and Vertex key). This restriction is due to some algorithms that used the value 0 as a special indication during the path computation. - diff --git a/docs/graph/graph-user-guide-manage-graph.rst b/docs/graph/graph-user-guide-manage-graph.rst index dbbf383572..5331013efa 100644 --- a/docs/graph/graph-user-guide-manage-graph.rst +++ b/docs/graph/graph-user-guide-manage-graph.rst @@ -386,4 +386,3 @@ The Prefix to be deleted is identified by its Prefix Id and must be provide within the URL. As the prefix identifier is the ip prefix, '.' and '/' must be replace by their respective ASCII representation i.e. '%2e' for dot and '%2f' for slash. - diff --git a/docs/pcep/pcep-user-guide-pce-server.rst b/docs/pcep/pcep-user-guide-pce-server.rst index 9b62f8a73d..5d2b472444 100644 --- a/docs/pcep/pcep-user-guide-pce-server.rst +++ b/docs/pcep/pcep-user-guide-pce-server.rst @@ -409,4 +409,3 @@ mentioned hereinafter: tag in order to be automatically used by the pcep plugin. All these limitations will be solved in future releases. - diff --git a/docs/pcep/pcep-user-guide-running-pcep.rst b/docs/pcep/pcep-user-guide-running-pcep.rst index 93cd8a1ef7..572345c070 100644 --- a/docs/pcep/pcep-user-guide-running-pcep.rst +++ b/docs/pcep/pcep-user-guide-running-pcep.rst @@ -49,4 +49,4 @@ This section explains how to install PCEP plugin. } } ] - } \ No newline at end of file + } diff --git a/docs/pcep/pcep-user-guide-supported-capabilities.rst b/docs/pcep/pcep-user-guide-supported-capabilities.rst index 3b980b509d..1e3ca9531c 100644 --- a/docs/pcep/pcep-user-guide-supported-capabilities.rst +++ b/docs/pcep/pcep-user-guide-supported-capabilities.rst @@ -19,4 +19,4 @@ List of supported capabilities * `draft-ietf-pce-stateful-sync-optimizations `_ - Optimizations of Label Switched Path State Synchronization Procedures for a Stateful PCE * `draft-sivabalan-pce-binding-label-sid `_ - Carrying Binding Label/Segment-ID in PCE-based Networks * `draft-ietf-pce-pceps `_ - Secure Transport for PCEP -* `RFC8306 `_ - Extensions to the Path Computation Element Communication Protocol (PCEP) for Point-to-Multipoint Traffic Engineering Label Switched Paths \ No newline at end of file +* `RFC8306 `_ - Extensions to the Path Computation Element Communication Protocol (PCEP) for Point-to-Multipoint Traffic Engineering Label Switched Paths diff --git a/graph/graph-impl/src/main/java/org/opendaylight/graph/impl/GraphListener.java b/graph/graph-impl/src/main/java/org/opendaylight/graph/impl/GraphListener.java index 543cd19d95..b6680e8677 100644 --- a/graph/graph-impl/src/main/java/org/opendaylight/graph/impl/GraphListener.java +++ b/graph/graph-impl/src/main/java/org/opendaylight/graph/impl/GraphListener.java @@ -153,4 +153,3 @@ public final class GraphListener implements DataTreeChangeListener, AutoC } } } - diff --git a/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslContextFactory.java b/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslContextFactory.java index c53c90cf52..b925aff43b 100644 --- a/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslContextFactory.java +++ b/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslContextFactory.java @@ -83,4 +83,3 @@ public class SslContextFactory { return null; } } - diff --git a/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslKeyStore.java b/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslKeyStore.java index ad3cf770fd..6f3aef55b9 100644 --- a/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslKeyStore.java +++ b/pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/tls/SslKeyStore.java @@ -53,4 +53,3 @@ public final class SslKeyStore { }; } } - diff --git a/pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/P2MPTeLspTlvsParserTest.java b/pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/P2MPTeLspTlvsParserTest.java index 64f0d5c126..e5b5adf489 100644 --- a/pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/P2MPTeLspTlvsParserTest.java +++ b/pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/P2MPTeLspTlvsParserTest.java @@ -31,4 +31,4 @@ class P2MPTeLspTlvsParserTest { parser.serializeTlv(capability, buff); assertArrayEquals(SPC_TLV_BYTES, ByteArray.getAllBytes(buff)); } -} \ No newline at end of file +} diff --git a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/P2MPExtensionActivator.java b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/P2MPExtensionActivator.java index 85cad8fe16..117cc0892a 100644 --- a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/P2MPExtensionActivator.java +++ b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/P2MPExtensionActivator.java @@ -35,4 +35,4 @@ public final class P2MPExtensionActivator implements PCEPExtensionProviderActiva context.registerTlvParser(P2MPTeLspCapabilityParser.TYPE, p2mpCapabilityParser), context.registerTlvSerializer(P2mpPceCapability.class, p2mpCapabilityParser)); } -} \ No newline at end of file +} diff --git a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/end/points/PCEPEndPointsObjectSerializer.java b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/end/points/PCEPEndPointsObjectSerializer.java index b384570315..85c563b31b 100644 --- a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/end/points/PCEPEndPointsObjectSerializer.java +++ b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/end/points/PCEPEndPointsObjectSerializer.java @@ -47,4 +47,3 @@ public final class PCEPEndPointsObjectSerializer implements ObjectSerializer { } } } - diff --git a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/unreach/PCEPUnreachDestinationSerializer.java b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/unreach/PCEPUnreachDestinationSerializer.java index 96a762b57e..243281c9dd 100644 --- a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/unreach/PCEPUnreachDestinationSerializer.java +++ b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/object/unreach/PCEPUnreachDestinationSerializer.java @@ -34,4 +34,4 @@ public final class PCEPUnreachDestinationSerializer implements ObjectSerializer PCEPIpv4UnreachDestinationParser.serializeObject(processing, ignore, ipv4, buffer); } } -} \ No newline at end of file +} diff --git a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/SrEroSubobjectParser.java b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/SrEroSubobjectParser.java index a75e7bb1d8..5e8fef8003 100644 --- a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/SrEroSubobjectParser.java +++ b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/SrEroSubobjectParser.java @@ -47,4 +47,4 @@ public class SrEroSubobjectParser extends AbstractSrSubobjectParser implements E subobjectBuilder.setSubobjectType(srEroSubobjectBuilder.build()); return subobjectBuilder.build(); } -} \ No newline at end of file +} diff --git a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/Srv6EroSubobjectParser.java b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/Srv6EroSubobjectParser.java index 10dae9f131..41267458f0 100644 --- a/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/Srv6EroSubobjectParser.java +++ b/pcep/parser/src/main/java/org/opendaylight/protocol/pcep/parser/subobject/Srv6EroSubobjectParser.java @@ -46,4 +46,4 @@ public class Srv6EroSubobjectParser extends AbstractSrv6SubobjectParser implemen .setSubobjectType(new Srv6EroTypeBuilder(parseSrv6Subobject(buffer)).build()) .build(); } -} \ No newline at end of file +} diff --git a/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/CustomPCEPSessionNegotiatorFactory.java b/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/CustomPCEPSessionNegotiatorFactory.java index 8b689ed3c6..7e1a6492f0 100644 --- a/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/CustomPCEPSessionNegotiatorFactory.java +++ b/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/CustomPCEPSessionNegotiatorFactory.java @@ -35,4 +35,4 @@ final class CustomPCEPSessionNegotiatorFactory extends DefaultPCEPSessionNegotia peerProposal.setPeerSpecificProposal(address, builder); } } -} \ No newline at end of file +} diff --git a/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/protocol/PCCServerPeerProposal.java b/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/protocol/PCCServerPeerProposal.java index 4feae8bae7..d7e976564e 100644 --- a/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/protocol/PCCServerPeerProposal.java +++ b/pcep/pcc-mock/src/main/java/org/opendaylight/protocol/pcep/pcc/mock/protocol/PCCServerPeerProposal.java @@ -35,4 +35,4 @@ public class PCCServerPeerProposal implements PCEPPeerProposal { } openBuilder.setLspDbVersion(lspDbVersionBuilder.build()).build(); } -} \ No newline at end of file +} diff --git a/pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCTriggeredSyncTest.java b/pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCTriggeredSyncTest.java index 68c0adcf50..74d38626d1 100644 --- a/pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCTriggeredSyncTest.java +++ b/pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCTriggeredSyncTest.java @@ -66,4 +66,3 @@ public class PCCTriggeredSyncTest extends PCCMockCommon { return List.of(new PCEPStatefulCapability(true, true, true, false, false, true)); } } - diff --git a/pcep/server/server-provider/src/main/java/org/opendaylight/bgpcep/pcep/server/provider/PcepTopologyListener.java b/pcep/server/server-provider/src/main/java/org/opendaylight/bgpcep/pcep/server/provider/PcepTopologyListener.java index 6080127f67..a59ea2d56b 100644 --- a/pcep/server/server-provider/src/main/java/org/opendaylight/bgpcep/pcep/server/provider/PcepTopologyListener.java +++ b/pcep/server/server-provider/src/main/java/org/opendaylight/bgpcep/pcep/server/provider/PcepTopologyListener.java @@ -452,4 +452,3 @@ public final class PcepTopologyListener implements DataTreeChangeListener, return PathType.Initiated; } } - diff --git a/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPExtensionProviderActivator.java b/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPExtensionProviderActivator.java index 55aa7328b0..1d6ccef9d0 100644 --- a/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPExtensionProviderActivator.java +++ b/pcep/spi/src/main/java/org/opendaylight/protocol/pcep/spi/PCEPExtensionProviderActivator.java @@ -14,4 +14,4 @@ import org.opendaylight.yangtools.concepts.Registration; @NonNullByDefault public interface PCEPExtensionProviderActivator { List start(PCEPExtensionProviderContext context); -} \ No newline at end of file +} diff --git a/pcep/spi/src/test/java/org/opendaylight/protocol/pcep/spi/APITest.java b/pcep/spi/src/test/java/org/opendaylight/protocol/pcep/spi/APITest.java index ed40882c4e..d75b32bace 100644 --- a/pcep/spi/src/test/java/org/opendaylight/protocol/pcep/spi/APITest.java +++ b/pcep/spi/src/test/java/org/opendaylight/protocol/pcep/spi/APITest.java @@ -58,4 +58,4 @@ class APITest { assertEquals(Object.class, unknown.implementedInterface()); assertSame(o, unknown.getInvalidObject()); } -} \ No newline at end of file +} diff --git a/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/ServerSessionManager.java b/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/ServerSessionManager.java index e45cda303f..f65393f383 100644 --- a/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/ServerSessionManager.java +++ b/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/ServerSessionManager.java @@ -319,4 +319,4 @@ class ServerSessionManager implements PCEPSessionListenerFactory, TopologySessio private @NonNull String topologyId() { return TopologyUtils.friendlyId(topology); } -} \ No newline at end of file +} diff --git a/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionListener.java b/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionListener.java index a1afe4475c..fbe1211248 100644 --- a/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionListener.java +++ b/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionListener.java @@ -11,4 +11,4 @@ import org.opendaylight.protocol.pcep.PCEPSessionListener; interface TopologySessionListener extends PCEPSessionListener, TopologySessionRPCs { void close(); -} \ No newline at end of file +} diff --git a/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionRPCs.java b/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionRPCs.java index a3462213f1..4b439c3da5 100644 --- a/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionRPCs.java +++ b/pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/TopologySessionRPCs.java @@ -30,4 +30,4 @@ interface TopologySessionRPCs { @NonNull ListenableFuture triggerSync(TriggerSyncArgs input); @NonNull ListenableFuture> tearDownSession(TearDownSessionInput input); -} \ No newline at end of file +} diff --git a/programming/spi/src/main/java/org/opendaylight/bgpcep/programming/spi/SuccessfulRpcResult.java b/programming/spi/src/main/java/org/opendaylight/bgpcep/programming/spi/SuccessfulRpcResult.java index 4202d619ad..d11a71abd7 100644 --- a/programming/spi/src/main/java/org/opendaylight/bgpcep/programming/spi/SuccessfulRpcResult.java +++ b/programming/spi/src/main/java/org/opendaylight/bgpcep/programming/spi/SuccessfulRpcResult.java @@ -37,4 +37,4 @@ public final class SuccessfulRpcResult implements RpcResult { public List getErrors() { return Collections.emptyList(); } -} \ No newline at end of file +} diff --git a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/ero/SERODynamicProtectionSubobjectParser.java b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/ero/SERODynamicProtectionSubobjectParser.java index abc6fecb2e..807851aad1 100644 --- a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/ero/SERODynamicProtectionSubobjectParser.java +++ b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/ero/SERODynamicProtectionSubobjectParser.java @@ -35,4 +35,4 @@ public class SERODynamicProtectionSubobjectParser extends ProtectionCommonParser serializeBody(CTYPE, protObj, body); EROSubobjectUtil.formatSubobject(TYPE, subobject.getLoose(), body, buffer); } -} \ No newline at end of file +} diff --git a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/label/GeneralizedLabelParser.java b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/label/GeneralizedLabelParser.java index 4ff211f61e..269aaa8cf3 100644 --- a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/label/GeneralizedLabelParser.java +++ b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/subobject/label/GeneralizedLabelParser.java @@ -47,4 +47,4 @@ public class GeneralizedLabelParser implements LabelParser, LabelSerializer { final ByteBuf body = Unpooled.wrappedBuffer(gl.getGeneralizedLabel()); LabelUtil.formatLabel(CTYPE, unidirectional, global, body, buffer); } -} \ No newline at end of file +} diff --git a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/PrimaryPathRouteObjectParser.java b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/PrimaryPathRouteObjectParser.java index 3526198eb0..4f524eae03 100644 --- a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/PrimaryPathRouteObjectParser.java +++ b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/PrimaryPathRouteObjectParser.java @@ -41,4 +41,4 @@ public final class PrimaryPathRouteObjectParser extends EROSubobjectListParser { serializeAttributeHeader(bufferAux.readableBytes(), CLASS_NUM, CTYPE, output); output.writeBytes(bufferAux); } -} \ No newline at end of file +} diff --git a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/ReoptimizationBandwidthObjectParser.java b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/ReoptimizationBandwidthObjectParser.java index f42f38cd1c..c1671bf12d 100644 --- a/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/ReoptimizationBandwidthObjectParser.java +++ b/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/ReoptimizationBandwidthObjectParser.java @@ -39,4 +39,4 @@ public final class ReoptimizationBandwidthObjectParser extends AbstractRSVPObjec final Bandwidth band = bandObject.getBandwidth(); output.writeBytes(Unpooled.wrappedBuffer(band.getValue())); } -} \ No newline at end of file +} diff --git a/rsvp/spi/src/main/java/org/opendaylight/protocol/rsvp/parser/spi/SRROSubobjectSerializer.java b/rsvp/spi/src/main/java/org/opendaylight/protocol/rsvp/parser/spi/SRROSubobjectSerializer.java index 6c46119499..1405edb3b4 100644 --- a/rsvp/spi/src/main/java/org/opendaylight/protocol/rsvp/parser/spi/SRROSubobjectSerializer.java +++ b/rsvp/spi/src/main/java/org/opendaylight/protocol/rsvp/parser/spi/SRROSubobjectSerializer.java @@ -13,4 +13,3 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev public interface SRROSubobjectSerializer { void serializeSubobject(SubobjectContainer subobject, ByteBuf buffer); } - diff --git a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistryTest.java b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistryTest.java index 5740a14a2a..992f475e3c 100644 --- a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistryTest.java +++ b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistryTest.java @@ -94,4 +94,4 @@ public class SimpleEROSubobjectRegistryTest { assertEquals(1, output.readableBytes()); } -} \ No newline at end of file +} diff --git a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistryTest.java b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistryTest.java index 8fc4dd7ff8..94de7f0671 100644 --- a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistryTest.java +++ b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistryTest.java @@ -92,4 +92,4 @@ public class SimpleRROSubobjectRegistryTest { assertEquals(1, output.readableBytes()); } -} \ No newline at end of file +} diff --git a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistryTest.java b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistryTest.java index a08bed7aee..938d8a0882 100644 --- a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistryTest.java +++ b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistryTest.java @@ -106,4 +106,4 @@ public class SimpleRSVPObjectRegistryTest { this.rsvpTeObjectParser); } -} \ No newline at end of file +} diff --git a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistryTest.java b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistryTest.java index 29c7d2a95b..3e71c97f94 100644 --- a/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistryTest.java +++ b/rsvp/spi/src/test/java/org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistryTest.java @@ -91,4 +91,4 @@ public class SimpleXROSubobjectRegistryTest { assertEquals(1, output.readableBytes()); } -} \ No newline at end of file +} diff --git a/tests/README.md b/tests/README.md index e6d027b451..8db29ba37a 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,6 +1,7 @@ # CSIT - Continuous System Integration Test ## Overview + This directory contains **Continuous System Integration Tests (CSIT)** and associated testing tools for the **BGPCEP** project. Test are written using common python testing framework, PyTest. These tests are used to test the core **BGP** and **PCEP** functionality of Opendaylight distribution. These tests are run directly against @@ -8,15 +9,17 @@ built opendaylight distribution with its associated test tools without relying o like nexus. ## Test File Origin and History + Test data files and test tools scripts contained in this repository were originally created as part of separate testing project which used Robot Framework library for system testing. Now as part of moving to more lightweight and simpler PyTest framework part of the original test files were reused. ## Directory Structure + The main directory structure is as following: | Directory | Description | -|:----------------|:---------------------------------------------------------------------------------------------------------------------------| +| :-------------- | :------------------------------------------------------------------------------------------------------------------------- | | `allure-result` | Directory used for storing Allure reports generated during test runs. | | `libraries` | Directory containing reusable test functions used in test cases. | | `results` | Directory used for storing test results (e.g., logs, performance metrics). | @@ -26,21 +29,30 @@ The main directory structure is as following: | `variables` | Directory containing test data (mostly templates used for RESTCONF calls). | ## Test Execution + Tests can be executed using two primary methods: ### 1. Part of maven build + Test can be run directly during maven build using `integration-tests` profile + ```sh mvn clean install -Pintegration-tests ``` + ### 2. Using tox command + Tests can be also run separately using tox tool which needs to be invoked from tests directory by running commands such as: + ```sh cd tests tox -e pytest ``` + ### Test results + Test results are evaluated using allure reporting system. To view the generated test report run the following command: + ```sh allure serve tests/allure-results/ ``` diff --git a/tests/requirements.txt b/tests/requirements.txt index f3a7aebaff..7e1989d8b8 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -13,4 +13,4 @@ pytest-dependency==0.6.0 pytest-env==1.1.5 pytest-ordering==0.6 pytest-retry==1.7.0 -requests==2.32.4 \ No newline at end of file +requests==2.32.4 diff --git a/tests/variables/bgpflowspec/bgp-flowspec-manypeers.j2 b/tests/variables/bgpflowspec/bgp-flowspec-manypeers.j2 index 7348015e00..5063ace43f 100644 --- a/tests/variables/bgpflowspec/bgp-flowspec-manypeers.j2 +++ b/tests/variables/bgpflowspec/bgp-flowspec-manypeers.j2 @@ -33,4 +33,4 @@ neighbor {{ ODL_IP }} { } } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpflowspec/bgp-flowspec-redirect-manypeers.j2 b/tests/variables/bgpflowspec/bgp-flowspec-redirect-manypeers.j2 index e06cb417cf..9d5209b66f 100644 --- a/tests/variables/bgpflowspec/bgp-flowspec-redirect-manypeers.j2 +++ b/tests/variables/bgpflowspec/bgp-flowspec-redirect-manypeers.j2 @@ -38,4 +38,4 @@ neighbor {{ ODL_IP }} { } } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpflowspec/bgp_flowspec_manypeers/data.json b/tests/variables/bgpflowspec/bgp_flowspec_manypeers/data.json index cf07dad87b..d75bc534b8 100644 --- a/tests/variables/bgpflowspec/bgp_flowspec_manypeers/data.json +++ b/tests/variables/bgpflowspec/bgp_flowspec_manypeers/data.json @@ -2343,4 +2343,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp1.j2 b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp1.j2 index 175c25ea7f..4d47b3a133 100644 --- a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp1.j2 +++ b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp1.j2 @@ -17,4 +17,4 @@ neighbor {{ ODLIP }} { } family { all } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp2.j2 b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp2.j2 index f778cb5309..32786be1e1 100644 --- a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp2.j2 +++ b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp2.j2 @@ -16,4 +16,4 @@ neighbor {{ odl_ip }} { } family { all } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp3.j2 b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp3.j2 index 6b592d575f..e3c1a1628b 100644 --- a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp3.j2 +++ b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp3.j2 @@ -23,4 +23,4 @@ neighbor {{ odl_ip }} { } family { all } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp4.j2 b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp4.j2 index d4340c590b..7758eb2571 100644 --- a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp4.j2 +++ b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp4.j2 @@ -17,4 +17,4 @@ neighbor {{ odl_ip }} { } family { all } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp5.j2 b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp5.j2 index 1b8659f666..a824e65bbc 100644 --- a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp5.j2 +++ b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp5.j2 @@ -17,4 +17,4 @@ neighbor {{ odl_ip }} { } family { all } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp6.j2 b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp6.j2 index 4399a76727..62dd7f5edc 100644 --- a/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp6.j2 +++ b/tests/variables/bgpfunctional/bgppolicies/exabgp_manypeers_configs/exabgp6.j2 @@ -23,4 +23,4 @@ neighbor {{ odl_ip }} { } family { all } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/bmp_basic/filled_structure_manypeers/data.json b/tests/variables/bgpfunctional/bmp_basic/filled_structure_manypeers/data.json index 5c5f696ac5..1d26a53327 100644 --- a/tests/variables/bgpfunctional/bmp_basic/filled_structure_manypeers/data.json +++ b/tests/variables/bgpfunctional/bmp_basic/filled_structure_manypeers/data.json @@ -937,4 +937,4 @@ } ] } - } \ No newline at end of file + } diff --git a/tests/variables/bgpfunctional/exa.cfg b/tests/variables/bgpfunctional/exa.cfg index 1c214e18c3..72f09da57e 100644 --- a/tests/variables/bgpfunctional/exa.cfg +++ b/tests/variables/bgpfunctional/exa.cfg @@ -27,4 +27,3 @@ peer-as 64496; } } } - diff --git a/tests/variables/bgpfunctional/exa.j2 b/tests/variables/bgpfunctional/exa.j2 index b4811f0976..e5157cd9f7 100644 --- a/tests/variables/bgpfunctional/exa.j2 +++ b/tests/variables/bgpfunctional/exa.j2 @@ -30,4 +30,4 @@ neighbor {{ ODL_IP }} { } } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/ipv6/ipv6_topology_empty/data.json b/tests/variables/bgpfunctional/ipv6/ipv6_topology_empty/data.json index f0c1b95ab4..9898f80276 100644 --- a/tests/variables/bgpfunctional/ipv6/ipv6_topology_empty/data.json +++ b/tests/variables/bgpfunctional/ipv6/ipv6_topology_empty/data.json @@ -10,4 +10,3 @@ } ] } - diff --git a/tests/variables/bgpfunctional/ipv6/manypeers/exaipv4.j2 b/tests/variables/bgpfunctional/ipv6/manypeers/exaipv4.j2 index e4e7b64bec..d5cd1dddba 100644 --- a/tests/variables/bgpfunctional/ipv6/manypeers/exaipv4.j2 +++ b/tests/variables/bgpfunctional/ipv6/manypeers/exaipv4.j2 @@ -8,4 +8,4 @@ neighbor {{ ODLIP }} { ipv4 unicast; } } -{% endfor -%} \ No newline at end of file +{% endfor -%} diff --git a/tests/variables/bgpfunctional/ipv6/manypeers/exaipv6.j2 b/tests/variables/bgpfunctional/ipv6/manypeers/exaipv6.j2 index b4852f5265..43461d7c04 100644 --- a/tests/variables/bgpfunctional/ipv6/manypeers/exaipv6.j2 +++ b/tests/variables/bgpfunctional/ipv6/manypeers/exaipv6.j2 @@ -18,4 +18,4 @@ neighbor {{ ODLIP }} { route 2a04:6d80::1/128 next-hop self; } } -{% endfor -%} \ No newline at end of file +{% endfor -%} diff --git a/tests/variables/bgpfunctional/l3vpn_ipv4/bgp-l3vpn-ipv4-manypeers.j2 b/tests/variables/bgpfunctional/l3vpn_ipv4/bgp-l3vpn-ipv4-manypeers.j2 index e06abc4fad..44abf4e284 100755 --- a/tests/variables/bgpfunctional/l3vpn_ipv4/bgp-l3vpn-ipv4-manypeers.j2 +++ b/tests/variables/bgpfunctional/l3vpn_ipv4/bgp-l3vpn-ipv4-manypeers.j2 @@ -19,4 +19,4 @@ neighbor {{ ODL_IP }} { } } } -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/tests/variables/bgpfunctional/route_refresh/route/location.uri b/tests/variables/bgpfunctional/route_refresh/route/location.uri index 6304e3a699..a58826dc7f 100644 --- a/tests/variables/bgpfunctional/route_refresh/route/location.uri +++ b/tests/variables/bgpfunctional/route_refresh/route/location.uri @@ -1,2 +1 @@ /rests/data/bgp-rib:application-rib=$APP_RIB/tables=bgp-types%3Aipv4-address-family,bgp-types%3Aunicast-subsequent-address-family/bgp-inet:ipv4-routes - diff --git a/tests/variables/bgpuser/cluster_id/expected_peer_rib_out_manypeers/peer_rib_out.j2 b/tests/variables/bgpuser/cluster_id/expected_peer_rib_out_manypeers/peer_rib_out.j2 index 78fcab038a..2cc56762e3 100644 --- a/tests/variables/bgpuser/cluster_id/expected_peer_rib_out_manypeers/peer_rib_out.j2 +++ b/tests/variables/bgpuser/cluster_id/expected_peer_rib_out_manypeers/peer_rib_out.j2 @@ -40,4 +40,3 @@ ] } } - diff --git a/tests/variables/bgpuser/filled_topology_manypeers/data.json b/tests/variables/bgpuser/filled_topology_manypeers/data.json index c0a1ce0826..480ea74d9b 100644 --- a/tests/variables/bgpuser/filled_topology_manypeers/data.json +++ b/tests/variables/bgpuser/filled_topology_manypeers/data.json @@ -77,4 +77,4 @@ } } ] - } \ No newline at end of file + } diff --git a/tests/variables/bgpuser/filled_topology_manypeers_with_withdrawals/data.json b/tests/variables/bgpuser/filled_topology_manypeers_with_withdrawals/data.json index 396a352ef0..f7ab7717e3 100644 --- a/tests/variables/bgpuser/filled_topology_manypeers_with_withdrawals/data.json +++ b/tests/variables/bgpuser/filled_topology_manypeers_with_withdrawals/data.json @@ -197,4 +197,4 @@ } } ] - } \ No newline at end of file + } diff --git a/tests/variables/bgpuser/local_as/manypeers_adj_rib_out/data.j2 b/tests/variables/bgpuser/local_as/manypeers_adj_rib_out/data.j2 index d85ec1e096..176465ee59 100644 --- a/tests/variables/bgpuser/local_as/manypeers_adj_rib_out/data.j2 +++ b/tests/variables/bgpuser/local_as/manypeers_adj_rib_out/data.j2 @@ -28,4 +28,4 @@ {% endfor %} ] } -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/get_pcc_stats/post_data.json b/tests/variables/pcepuser/titanium/get_pcc_stats/post_data.json index 139811cd82..1eb32dc31a 100644 --- a/tests/variables/pcepuser/titanium/get_pcc_stats/post_data.json +++ b/tests/variables/pcepuser/titanium/get_pcc_stats/post_data.json @@ -11,4 +11,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/get_stats_all/post_data.json b/tests/variables/pcepuser/titanium/get_stats_all/post_data.json index 94ad45da3c..d860ffb33f 100644 --- a/tests/variables/pcepuser/titanium/get_stats_all/post_data.json +++ b/tests/variables/pcepuser/titanium/get_stats_all/post_data.json @@ -6,4 +6,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/get_timer_value/location.uri b/tests/variables/pcepuser/titanium/get_timer_value/location.uri index b5db43f829..9a15602567 100644 --- a/tests/variables/pcepuser/titanium/get_timer_value/location.uri +++ b/tests/variables/pcepuser/titanium/get_timer_value/location.uri @@ -1 +1 @@ -rests/data/network-topology:network-topology/topology=pcep-topology/topology-types/network-topology-pcep:topology-pcep/odl-pcep-stats-provider:timer \ No newline at end of file +rests/data/network-topology:network-topology/topology=pcep-topology/topology-types/network-topology-pcep:topology-pcep/odl-pcep-stats-provider:timer diff --git a/tests/variables/pcepuser/titanium/manypeers/default_json.j2 b/tests/variables/pcepuser/titanium/manypeers/default_json.j2 index 83af43bf89..deb2ed1649 100644 --- a/tests/variables/pcepuser/titanium/manypeers/default_json.j2 +++ b/tests/variables/pcepuser/titanium/manypeers/default_json.j2 @@ -119,4 +119,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/manypeers/failed_updated_json.j2 b/tests/variables/pcepuser/titanium/manypeers/failed_updated_json.j2 index e5a66b9686..73d37bf953 100644 --- a/tests/variables/pcepuser/titanium/manypeers/failed_updated_json.j2 +++ b/tests/variables/pcepuser/titanium/manypeers/failed_updated_json.j2 @@ -125,4 +125,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/manypeers/removed_json.j2 b/tests/variables/pcepuser/titanium/manypeers/removed_json.j2 index bdfea94ba7..735a181fe5 100644 --- a/tests/variables/pcepuser/titanium/manypeers/removed_json.j2 +++ b/tests/variables/pcepuser/titanium/manypeers/removed_json.j2 @@ -129,4 +129,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/manypeers/updated_default_json.j2 b/tests/variables/pcepuser/titanium/manypeers/updated_default_json.j2 index 73df60ccca..5f56dfaaf1 100644 --- a/tests/variables/pcepuser/titanium/manypeers/updated_default_json.j2 +++ b/tests/variables/pcepuser/titanium/manypeers/updated_default_json.j2 @@ -177,4 +177,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/manypeers/updated_json.j2 b/tests/variables/pcepuser/titanium/manypeers/updated_json.j2 index e5a66b9686..73d37bf953 100644 --- a/tests/variables/pcepuser/titanium/manypeers/updated_json.j2 +++ b/tests/variables/pcepuser/titanium/manypeers/updated_json.j2 @@ -125,4 +125,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/manypeers/updated_updated_json.j2 b/tests/variables/pcepuser/titanium/manypeers/updated_updated_json.j2 index 8b76bbd541..4cc21d5b53 100644 --- a/tests/variables/pcepuser/titanium/manypeers/updated_updated_json.j2 +++ b/tests/variables/pcepuser/titanium/manypeers/updated_updated_json.j2 @@ -183,4 +183,4 @@ } } ] -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/set_timer_value/data.json b/tests/variables/pcepuser/titanium/set_timer_value/data.json index 7dd4640e6f..bccee0f88d 100644 --- a/tests/variables/pcepuser/titanium/set_timer_value/data.json +++ b/tests/variables/pcepuser/titanium/set_timer_value/data.json @@ -1,3 +1,3 @@ { "odl-pcep-stats-provider:timer": $TIMER -} \ No newline at end of file +} diff --git a/tests/variables/pcepuser/titanium/set_timer_value/location.uri b/tests/variables/pcepuser/titanium/set_timer_value/location.uri index b5db43f829..9a15602567 100644 --- a/tests/variables/pcepuser/titanium/set_timer_value/location.uri +++ b/tests/variables/pcepuser/titanium/set_timer_value/location.uri @@ -1 +1 @@ -rests/data/network-topology:network-topology/topology=pcep-topology/topology-types/network-topology-pcep:topology-pcep/odl-pcep-stats-provider:timer \ No newline at end of file +rests/data/network-topology:network-topology/topology=pcep-topology/topology-types/network-topology-pcep:topology-pcep/odl-pcep-stats-provider:timer diff --git a/testtool-util/src/test/java/org/opendaylight/protocol/util/InetSocketAddressUtilTest.java b/testtool-util/src/test/java/org/opendaylight/protocol/util/InetSocketAddressUtilTest.java index 5a31b20e08..c3da3ecf17 100644 --- a/testtool-util/src/test/java/org/opendaylight/protocol/util/InetSocketAddressUtilTest.java +++ b/testtool-util/src/test/java/org/opendaylight/protocol/util/InetSocketAddressUtilTest.java @@ -76,4 +76,4 @@ public class InetSocketAddressUtilTest { assertNotEquals(addr1.getHostString(), addr2.getHostString()); assertNotEquals(addr1.getPort(), addr2.getPort()); } -} \ No newline at end of file +} diff --git a/testtool-util/src/test/java/org/opendaylight/protocol/util/LoggerUtilTest.java b/testtool-util/src/test/java/org/opendaylight/protocol/util/LoggerUtilTest.java index 2a608555f8..83c483c279 100644 --- a/testtool-util/src/test/java/org/opendaylight/protocol/util/LoggerUtilTest.java +++ b/testtool-util/src/test/java/org/opendaylight/protocol/util/LoggerUtilTest.java @@ -26,4 +26,4 @@ public class LoggerUtilTest { = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME); assertEquals(logger.getLevel(), Level.OFF); } -} \ No newline at end of file +} diff --git a/tox.ini b/tox.ini index 7a40c08aee..de02a873d5 100644 --- a/tox.ini +++ b/tox.ini @@ -41,4 +41,3 @@ deps = pre-commit passenv = HOME commands = pre-commit run --all-files --show-diff-on-failure -